
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/passport.base.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/regist.personal.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/registReset.css" rel="stylesheet" type="text/css" media="screen" />

<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/jquery-1.2.6.pack.js"></script>

<!--中部-->
<div class="w blank" id="regist">
<div class="mt">
    <h2>
        注册新用户</h2>
    <b></b><span>我已经注册，现在就&nbsp;<?php echo CHtml::link('登录', array('hymember/login'),array('class'=>'flk13')); ?></span>
</div>
<div class="mc">
<?php include_once('zc_nav.php');?>

 <?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'hy-member-form',
	'enableAjaxValidation'=>false,
)); ?>
    <input id="emType" type="hidden" value="email"/>



    <div class="form">

        <div class="item">
            <span class="label"><b class="ftx04">*</b>我的邮箱：</span>

            <div class="fl">
            <?php echo $form->textField($model,'user_email',array('maxlength'=>200,'style'=>'ime-mode:disabled','tabindex'=>1)); ?>
                <label id="mail_succeed" class="blank"></label>
                <span class="clr"></span>

                <div id="mail_error">  <?php echo $form->error($model,'user_email'); ?></div>
            </div>
        </div>

        <div id="o-password">
            <div class="item">
                <span class="label"><b class="ftx04">*</b>请输入密码：</span>

                <div class="fl">
                           <?php echo $form->passwordField($model,'user_pws',array('tabindex'=>2,'autocomplete'=>'off','style'=>'ime-mode:disabled;','onpaste'=>'return false')); ?>
                           
                    <label id="pwd_succeed" class="blank"></label>
                    <span class="clr"></span>
                    <label class="hide" id="pwdstrength"><span class="fl">安全程度：</span></label>
                    <label id="pwd_error">	<?php echo $form->error($model,'user_pws'); ?></label>
                </div>
            </div>
            <div class="item">
                <span class="label"><b class="ftx04">*</b>请确认密码：</span>

                <div class="fl">
                 	<?php echo $form->passwordField($model,'rePws',array('onpaste'=>'return  false','autocomplete'=>'off','tabindex'=>3)); ?>
                    <label id="pwd2_succeed" class="blank"></label>
                    <span class="clr"></span>
                    <label id="pwd2_error">	<?php echo $form->error($model,'rePws'); ?></label>
                </div>
            </div>
        </div>

        <div class="item">
            <span class="label"><b class="ftx04">*</b>验证码：</span>

            <div class="fl">
                        <?php echo CHtml::activeTextField($model,'verifyCode',array('style'=>'ime-mode:disabled','class'=>'text text-1','tabindex'=>6,'autocomplete'=>'off','MaxLength'=>76)); ?>
                <label >
                    <?php $this->widget('CCaptcha',array('showRefreshButton'=>FALSE,'clickableImage'=>true,'imageOptions'=>array('clickableImage'=>true,'alt'=>'点击换图','title'=>'点击换图','style'=>'cursor:pointer'))); ?></label>
                <label class="ftx23">&nbsp;看不清？<a href=""
                                                  class="flk13">换一张</a></label>
                <label id="authcode_succeed" class="blank invisible"></label>
                <span class="clr"></span>
                <label id="authcode_error"></label>
            </div>
        </div>
        <?php echo  $form->errorSummary($model); ?>
        <div class="item">
            <span class="label">&nbsp;</span>

                   <?php echo CHtml::submitButton('同意以下协议，提交',array('class'=>"btn-img btn-regist",'id'=>'registsubmit','border'=>0,'tabindex'=>8)); ?>
        </div>
    </div>

<?php $this->endWidget(); ?>	
<!--[if !ie]>form end<![endif]-->
<?php include_once 'protocol.php';?>
</div>
</div>

<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/Validate.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/js/Validate.emReg.js"></script>